package com.orange.cloud.common.core.feign.pay.api;


import com.orange.cloud.common.core.feign.pay.pojo.wx.evt.WxPayUnifiedOrderEvt;
import com.orange.cloud.common.core.feign.pay.pojo.wx.vo.WxPayUnifiedOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "PayFeignService",name = "oe-pay", path = "/api-oe-pay")
public interface WxPayFeignService {

    @PostMapping("/pri/wxPay/createOrder")
    <T> T createOrder(@RequestBody WxPayUnifiedOrderEvt evt);

    @PostMapping("/pri/wxPay/unifiedOrder")
    WxPayUnifiedOrderVo unifiedOrder(@RequestBody WxPayUnifiedOrderEvt evt);





}
